package cn.iocoder.yudao.module.design.controller.admin.purchase.vo;

import cn.iocoder.yudao.module.infra.controller.admin.file.vo.file.FileRespVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
* 采购清单 新增字段 ，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class PurchaseAddVO {

    @Schema(description = "房屋ID", required = true)
    @NotNull(message = "房屋ID不能为空")
    private Long houseId;

    @Schema(description = "流程ID", required = true)
    @NotNull(message = "流程ID不能为空")
    private Long flowId;

    @Schema(description = "采购物品名称", required = true)
    @NotNull(message = "采购物品名称不能为空")
    private String name;

    @Schema(description = "供应商名称", required = false)
    private String personName;

    @Schema(description = "供应商联系方式", required = false)
    private String mobile;

    @Schema(description = "采购物品数量", required = false)
    private Long cnt;

    @Schema(description = "采购物品尺寸", required = false)
    private String size;

    @Schema(description = "采购物品位置", required = false)
    private String place;

    @Schema(description = "是否安装", required = false)
    private String isInstall;

    @Schema(description = "状态", required = false)
    private String statusCd;


    @Schema(description = "样图列表", required = false)
    private List<FileRespVO> fileList;



}
